package com.tmeone.erpone.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tmeone.erpone.entity.TWare;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tmeone.erpone.entity.WareNoAndTime;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  仓库 Service层
 * </p>
 *
 * @author wzy
 * @since 2021-04-19
 */
public interface ITWareService extends IService<TWare> {
    IPage<TWare> warePage(IPage<TWare> page, WareNoAndTime wareNoAndTime);

    //根据id更新仓库使用状态
    void updateWareStatusById(String wareId,String status);
    //货架分页
    IPage<TWare>selectWareCargoPageById(IPage<TWare> page,String id);

    //显示左边现有货架列表
    List<TWare> selectWareCargo();
    //精确显示一个
    TWare selectTwareShelvesOne(String sId,String goodsName);
    //搜索
    List<TWare> selectShelvesByAll1(String shelvesNo);
}
